package com.ikun.admin.modules.gen.iservice;

import com.ikun.admin.modules.gen.vo.*;
import com.ikun.common.result.Result;
import com.ikun.common.search.PageData;
import com.ikun.common.search.PageResult;

import java.util.List;

/**
 * @ClassName ITableService
 * @Description:
 * @CreateDate: 2024/4/16 15:01
 */
public interface ITableService {
    Result<String> tableAddOrUpdate(TableAddOrUpdateVo tableAddOrUpdateVo);

    Result<PageResult<TableListResultVo>> tableList(PageData<TableListParamVo> PageData);

    Result<String> tableDelete(Long id);

    Result<List<TableListResultVo>> tableDict();

    Result<TableDetailVo> tableDetail(Long id);

    Result<List<TableFieldDetailVo>> tableFieldDetail(Long id);

    Result<String> tableEntityAddOrUpdate(TableEntityAddOrUpdateVo tableEntityAddOrUpdateVo);
}
